{
  "patients": [
    {
      "id": "P001",
      "name": "John Doe",
      "dateOfBirth": "1980-05-15",
      "gender": "Male",
      "bloodType": "O+",
      "allergies": ["Penicillin"],
      "active": true
    },
    {
      "id": "P002",
      "name": "Jane Smith",
      "dateOfBirth": "1992-08-22",
      "gender": "Female",
      "bloodType": "A-",
      "allergies": [],
      "active": true
    },
    {
      "id": "P003",
      "name": "Bob Wilson",
      "dateOfBirth": "1975-12-01",
      "gender": "Male",
      "bloodType": "B+",
      "allergies": ["Latex", "Sulfa"],
      "active": true
    },
    {
      "id": "P004",
      "name": "Alice Johnson",
      "dateOfBirth": "1988-03-10",
      "gender": "Female",
      "bloodType": "AB+",
      "allergies": ["Aspirin"],
      "active": true
    },
    {
      "id": "P005",
      "name": "Charlie Brown",
      "dateOfBirth": "1965-07-30",
      "gender": "Male",
      "bloodType": "O-",
      "allergies": [],
      "active": true
    }
  ],
  "diseases": [
    {
      "id": "E11",
      "name": "Type 2 Diabetes Mellitus",
      "category": "Endocrine",
      "description": "A chronic condition affecting how the body processes blood sugar",
      "severity": "moderate"
    },
    {
      "id": "I10",
      "name": "Essential Hypertension",
      "category": "Cardiovascular",
      "description": "High blood pressure without identifiable cause",
      "severity": "moderate"
    },
    {
      "id": "J45",
      "name": "Asthma",
      "category": "Respiratory",
      "description": "Chronic inflammatory disease of the airways",
      "severity": "mild"
    },
    {
      "id": "E78",
      "name": "Hyperlipidemia",
      "category": "Metabolic",
      "description": "Elevated levels of lipids in the blood",
      "severity": "mild"
    },
    {
      "id": "M54.5",
      "name": "Low Back Pain",
      "category": "Musculoskeletal",
      "description": "Pain in the lumbar region",
      "severity": "moderate"
    }
  ],
  "medications": [
    {
      "id": "6809",
      "name": "Metformin",
      "genericName": "Metformin Hydrochloride",
      "drugClass": "Biguanide",
      "dosageForms": ["Tablet", "Extended-release tablet"]
    },
    {
      "id": "29046",
      "name": "Lisinopril",
      "genericName": "Lisinopril",
      "drugClass": "ACE Inhibitor",
      "dosageForms": ["Tablet"]
    },
    {
      "id": "36567",
      "name": "Atorvastatin",
      "genericName": "Atorvastatin Calcium",
      "drugClass": "Statin",
      "dosageForms": ["Tablet"]
    },
    {
      "id": "3992",
      "name": "Albuterol",
      "genericName": "Albuterol Sulfate",
      "drugClass": "Beta-2 Agonist",
      "dosageForms": ["Inhaler", "Nebulizer solution"]
    },
    {
      "id": "161",
      "name": "Acetaminophen",
      "genericName": "Acetaminophen",
      "drugClass": "Analgesic",
      "dosageForms": ["Tablet", "Liquid", "Capsule"]
    }
  ],
  "diagnoses": [
    {
      "patientId": "P001",
      "diseaseId": "E11",
      "diagnosedDate": "2023-01-15",
      "diagnosedBy": "Dr. Sarah Johnson",
      "status": "active",
      "severity": "moderate"
    },
    {
      "patientId": "P001",
      "diseaseId": "I10",
      "diagnosedDate": "2023-03-20",
      "diagnosedBy": "Dr. Sarah Johnson",
      "status": "active",
      "severity": "mild"
    },
    {
      "patientId": "P002",
      "diseaseId": "J45",
      "diagnosedDate": "2020-06-10",
      "diagnosedBy": "Dr. Michael Chen",
      "status": "active",
      "severity": "moderate"
    },
    {
      "patientId": "P003",
      "diseaseId": "E11",
      "diagnosedDate": "2019-11-05",
      "diagnosedBy": "Dr. Emily White",
      "status": "active",
      "severity": "severe"
    },
    {
      "patientId": "P003",
      "diseaseId": "E78",
      "diagnosedDate": "2020-02-18",
      "diagnosedBy": "Dr. Emily White",
      "status": "active",
      "severity": "moderate"
    },
    {
      "patientId": "P005",
      "diseaseId": "I10",
      "diagnosedDate": "2018-08-22",
      "diagnosedBy": "Dr. James Lee",
      "status": "active",
      "severity": "moderate"
    }
  ],
  "prescriptions": [
    {
      "patientId": "P001",
      "medicationId": "6809",
      "dosage": "500mg",
      "frequency": "twice daily",
      "prescribedDate": "2023-01-15",
      "prescribedBy": "Dr. Sarah Johnson",
      "durationDays": 90,
      "refills": 3,
      "status": "active"
    },
    {
      "patientId": "P001",
      "medicationId": "29046",
      "dosage": "10mg",
      "frequency": "once daily",
      "prescribedDate": "2023-03-20",
      "prescribedBy": "Dr. Sarah Johnson",
      "durationDays": 90,
      "refills": 3,
      "status": "active"
    },
    {
      "patientId": "P002",
      "medicationId": "3992",
      "dosage": "2 puffs",
      "frequency": "as needed",
      "prescribedDate": "2020-06-10",
      "prescribedBy": "Dr. Michael Chen",
      "durationDays": 365,
      "refills": 12,
      "status": "active"
    },
    {
      "patientId": "P003",
      "medicationId": "6809",
      "dosage": "1000mg",
      "frequency": "twice daily",
      "prescribedDate": "2019-11-05",
      "prescribedBy": "Dr. Emily White",
      "durationDays": 90,
      "refills": 4,
      "status": "active"
    },
    {
      "patientId": "P003",
      "medicationId": "36567",
      "dosage": "20mg",
      "frequency": "once daily at bedtime",
      "prescribedDate": "2020-02-18",
      "prescribedBy": "Dr. Emily White",
      "durationDays": 90,
      "refills": 4,
      "status": "active"
    }
  ],
  "treatments": [
    {
      "medicationId": "6809",
      "diseaseId": "E11",
      "effectiveness": "high",
      "firstLine": true
    },
    {
      "medicationId": "29046",
      "diseaseId": "I10",
      "effectiveness": "high",
      "firstLine": true
    },
    {
      "medicationId": "36567",
      "diseaseId": "E78",
      "effectiveness": "high",
      "firstLine": true
    },
    {
      "medicationId": "3992",
      "diseaseId": "J45",
      "effectiveness": "high",
      "firstLine": true
    },
    {
      "medicationId": "161",
      "diseaseId": "M54.5",
      "effectiveness": "moderate",
      "firstLine": true
    }
  ],
  "documents": [
    {
      "id": "DOC001",
      "title": "Diabetes Management Guidelines",
      "source": "medical_knowledge_base",
      "content": "Type 2 diabetes mellitus is a chronic metabolic disorder characterized by elevated blood glucose levels. The condition affects millions of people worldwide and can lead to serious health complications if not properly managed.\n\nTreatment approaches vary based on individual patient needs. Initial management often involves lifestyle modifications including diet changes and increased physical activity. Metformin is typically the first-line medication for most patients.\n\nRegular monitoring of blood glucose levels is essential. Patients should also undergo periodic screening for complications including retinopathy, nephropathy, and neuropathy."
    },
    {
      "id": "DOC002",
      "title": "Hypertension Treatment Protocol",
      "source": "clinical_guidelines",
      "content": "Hypertension, or high blood pressure, is a major risk factor for cardiovascular disease. Blood pressure should be measured at every healthcare visit.\n\nFirst-line treatments include ACE inhibitors such as lisinopril, ARBs, calcium channel blockers, and thiazide diuretics. Lifestyle modifications including reduced sodium intake, regular exercise, and weight management are important adjuncts to pharmacotherapy.\n\nPatients with diabetes or chronic kidney disease may require more aggressive blood pressure targets."
    }
  ]
}
